package com.delivery.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel(description = "菜品分页查询DTO")
@Data
public class DishPageQueryDTO {
    @ApiModelProperty(value = "分类id", example = "101")
    private Long categoryId;

    @ApiModelProperty(value = "菜品名称", example = "宫保鸡丁")
    private String name;

    @ApiModelProperty(value = "页码", required = true, example = "1")
    private Integer page;

    @ApiModelProperty(value = "每页记录数", required = true, example = "10")
    private Integer pageSize;

    @ApiModelProperty(value = "状态 0停用 1启用", example = "1")
    private Integer status;
}
